创建时间: | 2018/11/12 13:31 |
来源: | https://blog.csdn.net/qq_37023538/article/details/53930599 |
公司使用git和svn,都的做统计,总结svn统计代码的方法:
1 下载statsvn
http://www.statsvn.org/downloads.html
2 使用statsvn
下载代码
svn co http://xxxx.xxxxx.xxxxx/xxxxx
输出svn日志 svn log --xml -v > svn.log
生成报告 java -jar statsvn.jar svn.log /workspace -exclude 'xxx/**' -include **/*.cpp:**/*.h -output-dir '/report'
/workspace 最新版本所在的目录